﻿namespace Vestras.StarCraft2.Luna.Parser.Ast {
    public sealed class UnaryExpression : Expression {
        public Expression Value { get; internal set; }
        public ExpressionType Type { get; internal set; }

        public enum ExpressionType {
            NegateBool,
            ReverseBits,
            NegateNumber
        }

        public override string ToString() {
            return GetType().Name + " Value = [ " + Value + " ], Type = [ " + Type + " ]";
        }
    }
}
